def calculate_days(length):
    days = 1
    while length > 1:
        length //= 2
        days += 1
    return days
wooden = int(input())
print(calculate_days(wooden))
